php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#200016 - 05/13/03 10:54 AM [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Modification Name: ubb_portal.pl - A Poor Man's UBB Portal

Author(s): Mike Bobbitt

Description: ubb_portal.pl is designed to work with a UBB content island. It reads through the posts listed in an HTML content island (styled or unstyled work OK), and generates a "news" page that can be included in a portal. As the content island is automatically updated by UBB, so is the news page.

Demo: http://Army.ca/main.php

Requirements: UBB 6.x, using Content Islands, access to crontab or scheduled tasks

Download Link: http://Perl.Bobbitt.ca/ubb_portal

Notes: No UBB modifications required. This script runs standalone, reading the content islands created by UBB and generating a "news" page that can be included in your portal.

Works with both recent topic and recent post CIs and can be configured to truncate long posts (with ...). Properly updates Graemlin links to work, and won't truncate in the middle of an HTML tag. A sample style sheet is included, to get things going.

In the demo link above, the centre colum ("Army.ca News") is the sample output.
_________________________
Mike Bobbitt
PERL Stuff

Top
#200017 - 05/13/03 01:39 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
tackaberry Offline

Pooh-Bah

Registered: 11/28/00
Posts: 3234
Loc: NYC | 100% Hockey
Wow Mike....outstanding work!

laugh
_________________________

Top
#200018 - 05/13/03 01:52 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Very cool (too bad I can't add scheduled tasks)! I think tho you should explain which CSS tags are used and where...
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#200019 - 05/13/03 02:14 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Thanks guys!

Good point LK.

EDIT: I've included a ubb_portal.css file in the zip.

You can change any of that through the code if you want (just search for each class name), but it's probably easier to just define the classes as you want to see them.

Cheers
_________________________
Mike Bobbitt
PERL Stuff

Top
#200020 - 05/13/03 04:48 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Great work Mike laugh
_________________________
- Allen wavey
- What Drives You?

Top
#200021 - 05/14/03 11:24 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
This is a new ubbnews-like script using CI? smile
_________________________
- Allen wavey
- What Drives You?

Top
#200022 - 05/14/03 11:29 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Might wanna consider either closing the

with a or changing to

and changing <hr> to <hr /> smile
_________________________
- Allen wavey
- What Drives You?

Top
#200023 - 05/18/03 06:29 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Arianna Offline
Junior Member

Registered: 07/16/00
Posts: 11
I'm having a few problems with installing the portal.
(Somewhat off subject: I have a small teddy on the top of my monitor. A friend tells me whenever I have a coding problem, to talk to the teddy FIRST before I scream for help. It's good advice and has saved alot of friendships, however, I've talked to my teddy for the last hour or so....and I'm still stumped on this one)

First off:
[an error occurred while processing this directive]
I'm getting this message after I've followed the instructions with all except one.

The one I haven't been able to figure out:
4. Enable ubb_portal.pl to be run as a cron job (*nix) or scheduled task (Windows). Sample crontab entry to run ubb_portal.pl every 15 minutes is:
00,15,30,45 * * * * /home/user/www/cgi-bin/ubb_portal.pl
(prays I don't need root access to the server or unix to do this.....) Could you dumb down your response to me? Give me a link to where I need to read up on this?

Also....I want to be sure on the paths....
my $ubbdir="/home/bobbitt/www/army/ubb";
my $ubbpath="http://Army.ca/ubb";
my $cifile="$ubbdir/ContentIslands/7/html.html";
my $outputfile="/home/bobbitt/www/army/includes/news.php";

I have:
my $ubbdir="/home/arianna/ubb/noncgi";
my $ubbpath="http://dimhorizon.com/ubb/noncgi/icons";
my $cifile="$ubbdir/ContentIslands/9/html.html";
my $outputfile="/home/arianna/ubb/noncgi/includes/news.php";

OTHER QUESTIONS:
*****
Do I chmod ubb_portal.php to 755 or 777? (Chmoded to 755 at the moment) I've tried both with no change...
Do I add a news.php blank file to the includes folder and chmod 755 or 777? (Chmoded to 755 at the moment) Or will ubb portal create the file?

I've checked and double checked my paths....
still getting the error...HELP!

Thanks for all that help.
Regards,
Arianna
_________________________

.........before coffee!

My UBB forum smile
http://www.dimhorizon.com/cgi-bin/ultimatebb.cgi

Top
#200024 - 05/18/03 06:36 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Arianna Offline
Junior Member

Registered: 07/16/00
Posts: 11
ok...looks like my paths are ok. I've managed to get rid of
[an error occurred while processing this directive]

*talks once more to the teddy on her monitor*
betcha it's something exceptionally stupid that I'm forgetting!
_________________________

.........before coffee!

My UBB forum smile
http://www.dimhorizon.com/cgi-bin/ultimatebb.cgi

Top
#200025 - 05/18/03 06:38 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
This:
my $ubbpath="http://dimhorizon.com/ubb/noncgi/icons";

looks a little suspect, are you sure you want the /icons on the end?

I'm not a cron expert tho.. but it'll work at least once when everything (not including the cron task) is setup correctly smile 755 is fine on the permissions and the news.php file is created automagically once you set it up. smile
_________________________
- Allen wavey
- What Drives You?

Top
#200026 - 05/18/03 06:42 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Arianna Offline
Junior Member

Registered: 07/16/00
Posts: 11
Everything should be ok now, except this....

Enable ubb_portal.pl to be run as a cron job (*nix) or scheduled task (Windows). Sample crontab entry to run ubb_portal.pl every 15 minutes is:
00,15,30,45 * * * * /home/arianna/cgi-bin/ubb_portal.pl
_________________________

.........before coffee!

My UBB forum smile
http://www.dimhorizon.com/cgi-bin/ultimatebb.cgi

Top
#200027 - 05/18/03 06:44 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Arianna Offline
Junior Member

Registered: 07/16/00
Posts: 11
Allen,
What the heck is CRON? *grins*
_________________________

.........before coffee!

My UBB forum smile
http://www.dimhorizon.com/cgi-bin/ultimatebb.cgi

Top
#200028 - 05/18/03 07:41 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Arianna Offline
Junior Member

Registered: 07/16/00
Posts: 11
Gotta love Google...
I've found out what Cron is...and also scheduled tasks... bummer. Was hoping this would be a little less a hassle to use. Gonna continue my research and see if I can get it to work.

BTW...it's still not working even without the Cron task. So something in either my paths or chmoding is foobar'd. :-/
_________________________

.........before coffee!

My UBB forum smile
http://www.dimhorizon.com/cgi-bin/ultimatebb.cgi

Top
#200029 - 05/18/03 09:19 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
You'll most likely need to get your server admin to set it up for you, unless you have some sort of control panel that allows you to set up a cron job smile
_________________________
- Allen wavey
- What Drives You?

Top
#200030 - 05/19/03 06:56 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
messagedj Offline
Member

Registered: 01/23/02
Posts: 84
Loc: Amsterdam
mike... you keep on amazing me...

it seems like the only thing you do is scripting! lol

i am still fine tuning your Album.pl, but now we have this again...

why do you keep on giving me that work...


but i love it!

thnx!
_________________________
FOUNDER & WEBMASTER OF DJWEBPAGES


Dj Webpages
UBB addicted

Top
#200031 - 05/19/03 09:34 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Cool job Mike. thumbsup
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#200032 - 05/20/03 10:40 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Hi Guys. Go away for a weekend and you miss a lot! smile

Thanks for the HTML corrections Allen, I've updated the script with them. Good thing someone's keeping an eye on me. wink

Arianna, looks like you've figured out most of what's going on. What results (if any) do you get when you run ubb_portal.pl now? Is there a news.php file created? Does it have anything in it? There is a debug statement you can turn on ("$::debug=0;" changes to "$::debug=4;") but that may not help much.

messagedj, thanks! I actually do have a life -- well, sort of... I put this script together in an evening, so it didn't take too much time. Seems that's starting to show a bit... wink

Cheers
_________________________
Mike Bobbitt
PERL Stuff

Top
#200033 - 05/20/03 10:51 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Hey, just noticed UBBDev is running ubb_portal.pl on the main page. Thanks!

Guess I need to make it look prettier now. wink Plus, it says 0 replies, but there are 6. Is that a script bug or is it just slow to update?
_________________________
Mike Bobbitt
PERL Stuff

Top
#200034 - 05/20/03 12:04 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Quick note: I've added ubb_portal.css to the zip file, which has all the style classes pre-defined. I've also added some additional classes such as a header and footer block.
_________________________
Mike Bobbitt
PERL Stuff

Top
#200035 - 05/20/03 03:59 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thanks for the updates Mike smile

Quote:
quote:
Originally posted by Mike Bobbitt:
Hey, just noticed UBBDev is running ubb_portal.pl on the main page. Thanks!

Guess I need to make it look prettier now. wink Plus, it says 0 replies, but there are 6. Is that a script bug or is it just slow to update?
We don't have a cron job setup to update it.. not sure how yet without bugging an already over-worked navaho tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#200036 - 05/20/03 04:07 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Heheh. Ok. It could probably be changed to work off the existing CI schedule code, but that would mean making changes to UBB code. I'm a chicken. frown

I guess you could even resort to a low-tech method of calling http://www.ubbdev.com/ubbcgi/ubb_portal.pl through a web browser. It doesn't give any feedback, but it rebuilds the news.php file. So even running a scheduled task on a different system to open ubb_portal.pl in a web browser (or better yet - wget it) would work...

P.S. On most systems "crontab -e" will open the current crontab file in your preset editor. Then you can just add a line like:

00,15,30,45 * * * * /home/path/to/ubb_portal.pl

That'll make ubb_portal.pl run every 15 minutes... You probably already knew that...
_________________________
Mike Bobbitt
PERL Stuff

Top
#200037 - 05/20/03 04:50 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
danke, I'll try that out once I update the files here smile
_________________________
- Allen wavey
- What Drives You?

Top
#200038 - 05/21/03 11:43 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
looking good, smile

the css works fine in IE, but in mozilla/firebird, it doesn't show up at all.... any ideas?
_________________________
- Allen wavey
- What Drives You?

Top
#200039 - 05/22/03 06:43 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Darn. I think it's because the css uses classes like portalbody/header/footer without making them td classes.

Nope, it looks fine at my example site... Maybe it's either a) the use of multiple style sheets in one page, b) overriding classes from another sheet, or c) the placement of the ubb_portal.css tag. (It's below the others, but still in the HTML head block...)

I also noticed that in IE, the footer links disappear into the background with here...

I'll keep checking to see what might be going on with Mozilla...
_________________________
Mike Bobbitt
PERL Stuff

Top
#200040 - 05/22/03 10:04 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
yeah, I am still trying to get the link colors worked out... could be that we're using 3-4 different stylesheets on that page tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#200041 - 06/16/03 08:34 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Quick update: you can now identify multiple CI files, and they'll all be parsed. For example, I have the last 1 topic from my "admin" forum and the last 5 posts from my "news" forum.

Cheers
_________________________
Mike Bobbitt
PERL Stuff

Top
#200042 - 06/17/03 06:50 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
gracias Mike, that will be more useful now smile
_________________________
- Allen wavey
- What Drives You?

Top
#200043 - 06/17/03 07:51 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
For those running under Windows and need a CRON solution check this out wink

http://www.nncron.ru/

And those of you running under *NIX and do not have access to CRON here is a solution for you too wink

http://www.smarterscripts.com/cron/
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#200044 - 06/17/03 09:04 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Hey, thanks! nnCron looks pretty useful!
_________________________
Mike Bobbitt
PERL Stuff

Top
#200045 - 06/18/03 09:09 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
yeah, thanks Steven, that'll most likely be useful to all of us laugh
_________________________
- Allen wavey
- What Drives You?

Top
#200046 - 06/20/03 12:46 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
I've added a note to the script with those links. Thanks!

I've also made ubb_portal now use post icons as well...
_________________________
Mike Bobbitt
PERL Stuff

Top
#200047 - 06/20/03 05:04 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
danke, makes it purty smile
_________________________
- Allen wavey
- What Drives You?

Top
#200048 - 07/09/03 11:26 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
One more minor update: images in posts were sometimes broken (as I noticed on the main page here), and that won't happen now.
_________________________
Mike Bobbitt
PERL Stuff

Top
#200049 - 07/13/03 05:26 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I wish that I could use it, but :sigh: can't use schedualed tasks cry...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#200050 - 07/13/03 08:47 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Quote:
quote:
Originally posted by 1QuickSI:
For those running under Windows and need a CRON solution check this out wink

http://www.nncron.ru/

And those of you running under *NIX and do not have access to CRON here is a solution for you too wink

http://www.smarterscripts.com/cron/
Haven't tried it, but it should do the trick for you! wink
_________________________
Mike Bobbitt
PERL Stuff

Top
#200051 - 08/22/03 09:23 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Minor update, there's now a "Post A Reply" link with each entry...
_________________________
Mike Bobbitt
PERL Stuff

Top
#200052 - 08/23/03 03:08 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
danke Mike thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#200053 - 10/28/03 03:12 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Updated to work properly with the new Spider URLs... (http://perl.bobbitt.ca/ubb_portal)
_________________________
Mike Bobbitt
PERL Stuff

Top
#200054 - 10/28/03 05:06 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thanks Mike, I need to update the one here smile
_________________________
- Allen wavey
- What Drives You?

Top
#200055 - 10/28/03 05:15 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Let me know if I can be of assistance... smile
_________________________
Mike Bobbitt
PERL Stuff

Top
#200056 - 11/10/03 04:31 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
twslex Offline
Member

Registered: 06/13/02
Posts: 100
Quote:
quote:
Originally posted by Mike Bobbitt:
Let me know if I can be of assistance... smile
Hi,

Need a little assistence here, i keep on giving me an error:

Code:
<head><title>Error in CGI Application</title></head>
<body><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers.  The headers it did return are:



<pre>165: UBB file: <PATH_TO:$NONCGI>/Forum2/000769.cgi
189: Z&#0124;&#0124;000004&#0124;&#0124;bob.com&#0124;&#0124;11-10-2003&#0124;&#0124;09:35 AM&#0124;&#0124;&#0124;&#0124;</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by lruddick:
<strong> The whole list...


</strong></
Where does it goes wrong?

Top
#200057 - 11/10/03 07:52 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Looks like you've got debug on. smile

Try setting $::debug=0; (it's located near the top of the file).

That should make it behave better...
_________________________
Mike Bobbitt
PERL Stuff

Top
#200058 - 11/10/03 10:26 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
twslex Offline
Member

Registered: 06/13/02
Posts: 100
Quote:
quote:
Originally posted by Mike Bobbitt:
Looks like you've got debug on. smile

Try setting $::debug=0; (it's located near the top of the file).

That should make it behave better...
LOL, if debug is off it still gives the same error, that's why i have put debug on....

rockband

Top
#200059 - 11/10/03 11:22 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
Heheh. Reason being you're trying to run it from the web, but it wasn't really designed to be. The ubb_portal script generates a file that is viewable from the web, but is meant to be run via cron (or manually).

Check the "$outputfile" it probably has the portal page, ready to be included or viewed directly.

Cheers
_________________________
Mike Bobbitt
PERL Stuff

Top
#200060 - 11/10/03 05:19 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
twslex Offline
Member

Registered: 06/13/02
Posts: 100
Err, dump dump dump dump....



Must be my sleepy head.

Zhnxz anyway.

Top
#200061 - 11/10/03 07:09 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
No worries, had me fooled at first too. smile
_________________________
Mike Bobbitt
PERL Stuff

Top
#200062 - 03/02/04 07:09 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
Am I doing something wrong here? I changed the absolute and actual paths in the .pl file but did not set the content island urls. I just wanted to see what the portal looked like. I tried both ways, 755 and 777 permission settings for the .pl file and it still doesn't work.
Is there something special I'm supposed to do?

Top
#200063 - 03/02/04 07:19 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
Ah ... and where can I get the news.php file from?

Top
#200064 - 03/02/04 07:29 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

Top
#200065 - 03/02/04 07:48 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
Wanna send me the zip file? I don't see a link to download.

Top
#200066 - 03/02/04 07:52 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

Top
#200067 - 03/02/04 08:17 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
Ian, also wanna tell me why I can't load the ubb_portal.pl? Just doesn't want to show up with I type in the url: http://mydomain.com/cgi-bin/ubb_portal.pl

Top
#200068 - 03/02/04 08:19 PM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
could I actually see the domain so I can see the issue?

Top
#200069 - 03/03/04 08:47 AM Re: [6.x] ubb_portal.pl - A Poor Man's UBB Portal
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
There won't be any output when you run it from the web, all ubb_portal.pl does is quietly generate news.php. (So no need to download it from the above link - it's created on the fly...)

I run ubb_portal as a cron job (scheduled task) so it just runs every 15 mins or so, updating news.php with new info in the background.


Cheers
_________________________
Mike Bobbitt
PERL Stuff

Top
Page 1 of 3 1 2 3 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks